package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.FlowModelAppBusi;

/**
 * @author lilh
 * @date 2019-01-22 18:47
 */
public interface FlowModelAppBusiRepository {

    /**
     * 增加
     */
    Integer insert(FlowModelAppBusi entity);

    /**
     * 根据模型id获取关联app
     */
    FlowModelAppBusi getAppByModelId(String modelId);

    /**
     * 更新
     * @param modelAppBusiInfo
     * @return
     */
    Integer update(FlowModelAppBusi modelAppBusiInfo);
}
